package test.format_test;

import java.util.*;

public class ForMap {
    public static void main(String[] args) {
        Map map = new HashMap();
        map.put("jack","18");
        map.put("rose","19");
        Set entryset =  map.entrySet();
        Set keyset = map.keySet();
        System.out.println(entryset);
        Iterator iterator = entryset.iterator();
        while (iterator.hasNext()) {
            Object next =  iterator.next();
            System.out.println(next);
        }
        for(Object e:entryset){

        }
        int ii[] = new int[10];
        for(int i: ii){

        }
        System.out.println("\52");
    }
}

@SuppressWarnings("all")
class forSet{
    public static void main(String[] args) {
        HashSet set = new HashSet();
        set.add("haha");
        set.add(123);
    }
}